package com.hhtc.jsj.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hhtc.jsj.entity.PostOperate;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hhtc.jsj.request.PostOperateRequest;
import com.hhtc.jsj.request.UserRequest;

import java.util.List;

/**
 * <p>
 * 操作表 服务类
 * </p>
 *
 * @author ty
 * @since 2022-04-07
 */
public interface PostOperateService extends IService<PostOperate> {
    boolean add(PostOperateRequest postOperateRequest);
    boolean remove(PostOperateRequest postOperateRequest);
    boolean update(PostOperateRequest postOperateRequest);
    PostOperateRequest getById(PostOperateRequest postOperateRequest);
    List<PostOperateRequest> queryList(PostOperateRequest postOperateRequest);

    Page queryPage(PostOperateRequest postOperateRequest);
}
